import Vue from 'vue'
import router from './router'

import axios from 'axios'
import filter from './filter'
import directive from './directive'
import plugin from './plugin'
import api from './api'
import App from './App.vue'

Vue.config.productionTip = false
Vue.prototype.$axios = axios;

Vue.use(filter);
Vue.use(directive);
// Vue.prototype.$api = api;
Vue.use(api);
Vue.use(plugin);

new Vue({
  router:router,
  render: h => h(App),
}).$mount('#root')
